package com.gaber.extend;

/**
 * @author gaber
 * @date 2023/7/11 10:10:31
 * @description TODO
 */
public class test {
    public static void main(String[] args) {
        Penguin penguin = new Penguin("小企鹅", 2);
        penguin.eat();

        Animal animal = new Animal("父类小企鹅", 9);
        animal.eat();

        Mouse mouse = new Mouse("小老鼠", 3);
        mouse.eatTest();

        Animal dog = new Dog();
        dog.move();
    }
}

